package org.cellstore.dao;

import java.util.List;
import org.cellstore.entidad.TbDominio;

/**
 *
 * @author pablojesus
 */
public interface TbDominioDao {

    public void crear(TbDominio tbDominio) throws RuntimeException;

    public void editar(TbDominio tbDominio) throws RuntimeException;

    public void remover(TbDominio tbDominio) throws RuntimeException;

    public TbDominio obtener(Object id);

    public List<TbDominio> obtenerTodos();

    public List<TbDominio> obtener(String nombreCampo, String valor);

    public int contador();
}
